package com.david.system.pojo.Entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserInfo implements Serializable {
    private Long id;
    private String username;
    private String name;
    private String email;
    private boolean enabled;
    private String gender;
    private String phone;
    private String code;
    private String status;
    private String dept;
    private Integer deptId;
    private String job;
    private Integer jobId;
    private String role;
//    private Integer roleId;
//    权限管理相关
//    private List<ComponentsVO> components;
    private List<String> components;
    private List<String> permissions;

}
